<%@ include file="../header.jsp" %>
	<div id="content">
				<h3>Lista de subastas pendientes a finalizar</h3>
				<table border="1" bgcolor="lightBlue">
					<c:forEach items="${auctionList}" var="auction">
					<tr>
					<td>
						<span> 
						<a href="<c:url value="viewProduct"><c:param name="id" value="${auction.id}" /></c:url>">
							<c:out value="${auction.name}" /> </a>
							<c:out value="${auction.description}" />							
							Precio: $<c:out value="${auction.price}" />
						</span>	
					<td>	
						<a href="auctionEnd?id=${auction.id}"><button>Finalizar</button></a>
					</td>	
					</td>
					</tr>
				</c:forEach>
				</table>
	</div>
<%@ include file="../footer.jsp" %>